<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>
  hello,index
</h1>
后台传递过来的数据：<span th:text="${msg}"></span>
<span th:text="${age}"></span>
<!--<span th:each="list:${lists}">-->
<!--    <span th:text="${list}"></span>-->
<!--</span>-->
<table border="1">
    <tr th:each="list:${lists}">
        <td th:text="${list}"></td>
    </tr>
</table>
</body>
</html>